package com.tudouji.project.mt.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.flow.service.pojo.BasePojo;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 美团门店菜品销售主对象 mt_sales
 * 
 * @author tudouji
 * @date 2023-12-04
 */
@Data
public class MtSales extends BasePojo
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 店铺Id */
    @Excel(name = "店铺Id")
    private Long mtShopid;

    /** 美团组织Id */
    @Excel(name = "美团组织Id")
    private Long mtOrgid;

    /** ERP组织Id */
    @Excel(name = "ERP组织Id")
    private Long orgId;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** 美团店铺名称 */
    @Excel(name = "美团店铺名称")
    private String poiname;

    /** 美团商铺编号 */
    @Excel(name = "美团商铺编号")
    private String merchantno;

    /** 美团订单类型 */
    @Excel(name = "美团订单类型")
    private String ordertypename;

    /** 菜品大类 */
    @Excel(name = "菜品大类")
    private String dishcatename;

    /** 菜品小类 */
    @Excel(name = "菜品小类")
    private String secondcatename;

    /** ERP订单编号生成ERP相关单据时，对应生成订单编号以便核对数据 */
    @Excel(name = "ERP订单编号生成ERP相关单据时，对应生成订单编号以便核对数据")
    private String code;

    /** 业务日期 */
    @Excel(name = "业务日期")
    private Long biztime;
    //ERP系统数据加工处理过程中查询条件中起始业务日期
    private Long startBiztime;

    /** 菜品SPU */
    @Excel(name = "菜品SPU")
    private Long dishid;

    /** 菜品SKUId */
    @Excel(name = "菜品SKUId")
    private Long skuid;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String dishname;

    /** 菜品规格 */
    @Excel(name = "菜品规格")
    private String dishspec;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String dishunitname;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private Integer dishsalecnt;

    /** 菜品原价 */
    @Excel(name = "菜品原价")
    private BigDecimal dishsaleamt;

    /** 菜品优惠 */
    @Excel(name = "菜品优惠")
    private BigDecimal dishcmpgnamt;

    /** 菜品收入 */
    @Excel(name = "菜品收入")
    private BigDecimal dishincomeamt;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal taxamt;

    /** 不含税收入 */
    @Excel(name = "不含税收入")
    private BigDecimal notaxincomeamt;

    /** 客户Id */
    @Excel(name = "客户Id")
    private Long customerid;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customername;

    /** 部门Id */
    @Excel(name = "部门Id")
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** ERP系统库房id */
    @Excel(name = "ERP系统库房id")
    private String storeroomguid;

    /** erp库房名称 */
    @Excel(name = "erp库房名称")
    private String storeroomname;

    /** ERP系统库间Id */
    @Excel(name = "ERP系统库间Id")
    private String storehouseguid;

    /** ERP库间名称 */
    @Excel(name = "ERP库间名称")
    private String storehousename;

    /** ERP产品guid */
    @Excel(name = "ERP产品guid")
    private String productguid;

    /** ERP产品名称 */
    @Excel(name = "ERP产品名称")
    private String productname;

    /** ERP系统物料guid */
    @Excel(name = "ERP系统物料guid")
    private String spguid;

    /** ERP物料名称 */
    @Excel(name = "ERP物料名称")
    private String spname;

    /** ERP库存单位数量 */
    @Excel(name = "ERP库存单位数量")
    private BigDecimal erpWeight;

    /** erp库存单位id */
    @Excel(name = "erp库存单位id")
    private Long stockunitid;

    /** erp库存单位名称 */
    @Excel(name = "erp库存单位名称")
    private String stockunitname;

    /** ERP系统库存单价 */
    @Excel(name = "ERP系统库存单价")
    private BigDecimal erpPrice;

    /** 1 – 初始 5 – 已生成明细表 10 – 资料不全 50-待同步 */
    @Excel(name = "1 – 初始 5 – 已生成明细表 10 – 资料不全 50-待同步")
    private Integer status;

    private Integer[] statusNo;
    private Long bizTimeStart;
    private Long bizTimeEnd;

    private String statusName;
}
